import { ApiProperty } from '@nestjs/swagger'
import { UserEntity } from './user.entity'

export class AccountInfo {
  // @ApiProperty({ description: '用户名' })
  // username: string

  // @ApiProperty({ description: '昵称' })
  // nickname: string

  // @ApiProperty({ description: '邮箱' })
  // email: string

  // @ApiProperty({ description: '手机号' })
  // phone: string

  @ApiProperty({ description: '备注' })
  remark: string

  // @ApiProperty({ description: '头像' })
  // avatar: string
}


export interface IUserInfoModel extends UserEntity {
	isSuperAdmin?: boolean
	isAdmin?: boolean
	knowledgePoints?: number
}